import request from '@/utils/request'

//分页查询转派
export function getReassignmentList(data) {
    return request({
        url: '/redeploy/list',
        method: 'post',
        data
    })
}

//详情或处理查询数据
export function getReassignmentDetail(params) {
    return request({
        url:'/redeploy/getone',
        method: 'get',
        params
    })
}

//处理转派
export function handleReassignment(data) {
    return request({
        url:'/redeploy/dispose',
        method: 'put',
        data
    })
}